Optimal coherence via chirped pulse adiabatic passage in the presence of dephasing