Nucleation of Quark Matter in Neutron Star Cores