Quality of care for major depression and its determinants: a multilevel analysis