Biocolloid retention in partially saturated soils