Resonant enhancement of relativistic electron fluxes during geomagnetically active periods