Guided waves by electromagnetic gratings and non‐uniqueness examples for the diffraction problem