Effect of Surface Alignment Layers on the Configurational Transitions in Cholesteric Liquid Crystals