Dynamic-absorption contours : analysis of wave-packet motion on ground-state and excited-state potential energy surfaces