Design of CO, CO2 and CH4 gas sensors based on correlation spectroscopy using a Fabry–Perot interferometer