How the same-sex marriage vote will impact on human rights and democracy