Canonical correlation analysis of hydrological response and soil erosion under moving rainfall