Electrical changes of the polar ionosphere during magnetospheric substorms