Streamflow from rainfall by the unit-graph method