Optical simulation of the free Dirac equation