Application of genetic algorithm in quasi-static fiber grating wavelength demodulation technology