Which component of the x-ray tube is responsible for producing electrons through thermionic emission?