Transitions between crazing, fracture and yield under hydrostatic pressure