Mayor signs bill affecting thousands of NYC Airbnb rentals