Multiscale expansion of the lattice sine--Gordon equation