Quasifree nucleon-knockout reactions from neutron-rich nuclei by a proton target: p(6He,pn)5He, p(11Li,pn)10Li, p(6He,2p)5H, and p(11Li,2p)10He