Near-field analysis of surface electromagnetic waves in the bandgap region of a polymeric grating written on a one-dimensional photonic crystal