Formation of intensity grating in a polymer liquid crystal with a side-chain azobenzene moiety by photoinduced alignment change of mesogens