A line-integral-based method to partition climate and catchment effects on runoff