Quake kills 2, damages infrastructure in New Zealand