Rapid Assessment of Soil Nutrient-Related Environmental Risks and Safety Using Near Infrared Spectroscopy and Machine Learning.