Psychiatric morbidity and quality of life of primary care attenders in two cities in Brazil