Soil pH changes during legume growth and application of plant material