Optical characteristics of a two-dimensional dielectric photonic crystal immersed in a coherent atomic gas