A method to predict the mechanical strength of agricultural soils