difference between heat engine and refrigeration