Study of water–sugar interactions at increasing sugar concentration by NIR spectroscopy