A model for non-isothermal crystallization kinetics