Heavy flavours on the lattice: Results and prospects