who was the first prime minister of new zealand?