Effects of color superconductivity on the nucleation of quark matter in neutron stars