The ring current in the magnetosphere and the polar magnetic substorms