Optical Proof of Work