Thames Water saw a 40% increase in pollution incidents in the first half as its debts continued to spiral.