A 78-year-old man is admitted after hip surgery. On day 2 he becomes acutely confused, agitated and is pulling at his lines. He is disorientated to time and place. Observations show mild hypoxia and a temperature of 38.2°C. What is the most likely diagnosis?