Femtosecond pump-probe spectroscopy: A theoretical analysis of transient signals and their relation to nuclear wave-packet motion