A psychological approach to occupational safety