Emotional senators pass same-sex marriage