Protests in Rio end with violent police reaction