Factors affecting cognitive functioning in a sample of human immunodeficiency virus-positive injection drug users.