Weak decays of heavy quarks