High brightness electron beams for fourth generation light sources