Australian MPs vote to allow same-sex marriage