who was the first new zealand prime minister?