A historical look at attitudes to homosexuality in the Islamic world