Cleaning of water-treatment installations