Age, comorbidities, and AIDS predict a frailty phenotype in men who have sex with men.