Spectra of Water Waves in Channels and around Islands