Translation of a Chemical Reaction from Batch to Continuous Flow via Process Analytical Technology and Chemometrics