Color superconductivity and chiral symmetry restoration at non-zero baryon density and temperature