Analysis of hazardous waste and environmental extracts by capillary gas chromatography/Fourier transform infrared spectrometry and capillary gas chromatography/mass spectrometry