Quantum processes of propagation of electron waves in layered structures