The Environment Agency has criticised water companies over their “unacceptable” performance on sewage spills last year.