Analysis of resilience and sexual behavior in persons with HIV infection