On-chip filter bank spectroscopy at 600–700?GHz using NbTiN superconducting resonators