Coherent manipulations of atomic wavefunctions in optical lattices