electromagnetic waves are produced by which charge