Magnetospheric electric field variations caused by storm-time shock fronts