Reversible quantum teleportation in an optical lattice