Decelerated molecular beams for high-resolution spectroscopy