Massachusetts governor signs law regulating short-term rentals