Optical polarization of neutron-rich sodium isotopes and β-NMR measurements of quadrupole moments