The number of people admitted to hospital for skin cancer treatment in England rose by nearly a third in five years, official figures show.