The Casimir effect: From quantum to critical fluctuations