Subwavelength and nonreciprocal optical and electromagnetic systems for sensing and communications