Dynamic brain spectrum acquired by a real-time ultra-spectral imaging chip with reconfigurable metasurfaces