Human Errors Analysis and Safety Management Systems in Hazardous Activities