Light-emitting metasurfaces