Quantum control of noisy channels