Almost 200 officers in Hamburg have been injured in violent clashes with demonstrators who torched cars, smashed windows and looted businesses.