Domain reversal and nonstoichiometry in lithium tantalate