Computer-aided HAZOP and fault tree analysis