Quantum theory of free-carrier absorption in quasi-two-dimensional semiconducting structures