Lightweight high-frequency whisk-broom hyperspectral imager using optical switch