Influence of atomic excitation processes on yield curves of narrow nuclear resonances