Preparation of oriented layer for fabrication of liquid crystal electrooptical cells