Text this: Reversible Carnot and Philips heat engines with a real gas as a working body