Lifetimes and oscillations of heavy mesons