Incineration with energy recovery