Earthquake measuring 5.7 magnitude felt in New Zealand capital