Thermionic sources for high-brightness electron beams