Rhode Island moves toward approval of same-sex marriage