Surge in number of people in hospital with nutrient deficiencies, NHS figures show