Instead of an electromagnetic wave, what did the light quantum behave as in some regards?