Same-sex relationships are illegal in more than 70 countries, almost half of them in Africa, where homosexuality is broadly taboo and persecution is rife.