Detailed characterization of electron sources yielding first demonstration of European x-ray free-electron laser beam quality