Controls and characteristics of variability in soil moisture and groundwater in a headwater catchment