Deformation of internal boundaries in a viscoelastic earth and topographic coupling between the mantle and core