How New Zealand’s biggest city solved its housing crisis