Peripheral-model approach to stripping into resonant states