Treatment regimen determines the relationship between depression and glycemic control