electrons can behave in ways similar to both a wave and a particle