Analysis of coal by diffuse reflectance near-infrared spectroscopy