Pure States of Electromagnetic Field