Greece legalizes same sex marriage in landmark vote