Quantum observables as magnetic pseudodifferential operators