Magnesium relationships in soils and plants