Real-time observation of vortex lattices in a superconductor by electron microscopy