Goos–Hänchen and Imbert–Fedorov shifts from a quantum-mechanical perspective | Synapse