The role of pH in the synthesis of diaziridines