Optimization of the mechanochemical synthesis of several distinct compounds.