An approach to the formation and growth of new phases with application to polymer crystallization: effect of finite size, metastability, and Ostwald's rule of stages