Development and validation of models for optimisation and control of batch and continuous crystallisation processes