Labour will eliminate unauthorised sewage spillages in 10 years, the environment secretary has told Sky News.