Photoinduced alignment of polymer liquid crystals containing azobenzene moieties in the side chain. 2. Effect of spacer length of the azobenzene unit on alignment behavior