Lattice-gas theory of collective diffusion in adsorbed layers