Teens who spend more time in extracurricular activities and less time in front of screens have better mental health, study finds