Quantum state engineering of the radiation field