Men and women in their 50s are flocking to gyms to do boxing exercises or lift weights, following doctors' advice.