Text this: Ultracompact on-chip spectral shaping using pixelated nano-opto-electro-mechanical gratings.