Rhode Island becomes tenth state to make same-sex marriage legal