Size and temperature effect on polymorphic transformations in alkali halide crystals