Domain annihilation due to temperature and thickness gradients in single-crystal BaTiO3.