7.8 million people have voted in favour of legalising same-sex marriage