Austerity 'led to rise in people with mental health problems'