Heat and energy conversion