Ireland has become the first country to approve same-sex marriage by a popular vote