The submillimeter spectra of the planets: Narrow-band photometry