New Zealand PM John Key wins second term