Risk factors for HIV infection in people attending clinics for sexually transmitted diseases in India