Effect of chronic diseases and associated psychological distress on health‐related quality of life