Cold gases in optical lattices