Bản ghi email: Transition from two-dimensional photonic crystals to dielectric metasurfaces in the optical diffraction with a fine structure