Psychological factors account for variation in metabolic control and perceived quality of life among people with type 2 diabetes in New Zealand