Gender inequality and HIV transmission: a global analysis