This replaces the earlier version. Correction in section 5 of definition of lattice sobolev norms, and in appendix A. Results unchanged.