UK lawmakers approve same-sex marriage in first vote