Nucleation of quark matter in neutron stars: role of color superconductivity