Near-Infrared Spectroscopic Analysis for Classification of Water Molecules in Wood by a Theory of Water Mixtures