Directional Light Emitters And Image Sensors Based On Plasmonic Metasurfaces