Ministers have threatened tough penalties for looters after violence erupted in Frankfurt and other cities at the weekend after a series of cost-of-living protests.