Impact of a type 2 diabetes diagnosis on mental health, quality of life, and social contacts: a longitudinal study