Security guard pounces on armed man at NY medical clinic