Mexico legaises same-sex marriage