BEST-WR: An adapted algorithm for the hydraulic characterization of hydrophilic and water-repellent soils