Vermont legalizes same-sex marriage