Lattice QCD and the CKM matrix