Pattern recognition based on fuzzy observations for spectroscopic quality control and chromatographic fingerprinting