A rapid objective method to measure the degree of milling of rice