Quantitative and qualitative determination of acid value of peanut oil using near-infrared spectrometry