Does cognitive function predict changes in perception of stressful working conditions?