Automated sensor-based quantification of soil water retention and microbial respiration across drying conditions