'The good work the government has done has been overshadowed by too many self-inflicted mistakes and a failure to shout proudly about those achievements', TUC General Secretary Paul Nowak writes