γ-Spectroscopy of light neutron-rich nuclei after secondary reactions at relativistic energies