Tracking of bifurcations and hysteresis in electrostatically actuated resonators by motion-induced current