State-independent purity and fidelity of quantum operations