Decoding quantum information via the Petz recovery map