Modification of the Kolmogorov-Johnson-Mehl-Avrami rate equation for non-isothermal experiments and its analytical solution