Director Structures of Cholesteric Diffraction Gratings