Orientational effect due to a change in the anisotropy of the interaction between a liquid crystal and a bounding surface