Concatenated coding in the presence of dephasing