Obesity threatens quality of life as smoking, research finds