Globally-stable tracking and estimation for single-phase electrical signals with DC-offset rejection