The generation of runoff through ephemeral streams