Ireland passes same-sex marriage referendum