On the thermionic emission from nitrogen-doped diamond films with respect to energy conversion