The role of sex in health-related quality of life after cardiac surgery: a prospective study