Quantum‐dynamical model for thermal desorption of gases from solid surfaces