Kinetics of polymer crystallization calculated for an arbitrary regime of cooling