Bacterial pneumonia in HIV-infected patients: analysis of risk factors and prognostic indicators