light is emitted in waves