A scanning Fabry-Perot interferometer for the 50–1000 μm range