Liquid Crystal Alignment by Optical Interference and Application to Liquid Crystal Diffraction Grating