Theory for Atomic Diffusion on Fixed and Deformable Crystal Lattices