Police and firefighters in Rio de Janeiro have gone on strike demanding better salaries, benefits and working conditions.