Growth and decay of relativistic electrons during a magnetic storm as seen in low-Earth orbit