Two-loop QCD corrections to the heavy-to-light quark decay