Recuperating heat from exhaust gases of combustion engines and heat from cooling circuits