Young people who are unemployed are more likely to experience mental health problems, according to a recent study.