Piezoelectric voltage of barium titanate with stabilized domains