Cognitive function, depressive symptoms and syphilis in HIV-positive and HIV-negative individuals