Thames Water’s emergency loan could cost £800mn in interest and fees