metaphotonic devices and systems