Application of semiconductors to thermionic energy converters