Lattice QCD and heavy quarks