Local polarization reversal in barium titanate single crystals and ceramics