Engineering the catalytic batchwise synthesis of H2O2 from its elements