Problems and solutions in calculating quality-adjusted life years (QALYs)