New theoretical framework for studies of vapor growth and sublimation of small ice crystals in the atmosphere