Analysis of protein and tannin contents in sorghum (Sorghum bicolor (L.) Moench) using near infrared reflectance spectroscopy