Improving continuous crystallisation using process analytical technologies: design of a novel periodic flow process