Correlates of HIV infection among patients with mental illness in Brazil