In-beam spectroscopy of neutron-rich nuclei: New application of massive-transfer reactions