Police, firefighters oppose bills in legislature that will take away benefits