Structural transition in the humic matrix of soil gels and its effect on the soil properties