Effects of working conditions and sleep of the previous day on cognitive performance.