Quantifying the role of traditional rice terraces in regulating water resources: implications for management and conservation efforts