electromagnetic radiation is both a wave and a particle