Fungal decay of spruce and beech wood assessed by near-infrared spectroscopy in combination with uni- and multivariate data analysis