near infrared spectroscopy for soil analysis smart