Constraining albedo, diameter and composition of near-Earth asteroids via near-infrared spectroscopy