Decay Channels of Core Excitation Resonances in Atomic Lanthanides and 3d Transition Metals