The Connection Between Sleep and Mental Health: Exploring How Sleep Quality Affects Mood Disorders and Cognitive Function