An effective excess charge model to describe hysteresis effects on streaming potential