Earthquake centered near New York City rattles the Northeast