Having a bad job can be worse for your health than being unemployed, says study