Magnitude 6 earthquake shakes New Zealand's Kermadec Islands