Gender inequalities, intimate partner violence and HIV preventive practices: findings of a South African cross-sectional study