METASURFACES AND WAVEGUIDES IN OPTICS