Magnitude 5.7 earthquake hits New Zealand