Research shows that unemployment is less detrimental to mental health than having a bad job