Flow chemistry for process optimisation using design of experiments