Thermoelectric and thermionic microgenerators: chances, challenges and limitations