Interacting atoms in optical lattices