Differences in pH, electrical resistance, cation composition and NIR spectra of red spruce wood during early stages of brown rot degradation