Sleep quality and mental health in coronavirus disease 2019 patients and general population during the pandemic