Taking drugs for depression linked to better diabetes control