Coffee roasting degrees prediction in terms of weight loss with selected wavebands based on near-infrared spectroscopy