Psychosocial Effects of Isolation and Fear of Contagion of COVID-19 on the Mental Health of Different Population Groups