Femtosecond Dynamics of Quantum Dissipative Systems: Localization of Electrons at Interfaces