Waterways in England had sewage discharged into them for three million hours