Inviscid Burgers’ Equation and Riemann Waves in Optics