Theoretical studies of point defects and diffusion in Nb3Sn