Gravar e-mail: Analysis of integrated optics elements based on photonic crystals