Diffraction by periodic arrays of dielectric cylinders