Evanescent radiation, quantum mechanics and the Casimir effect