Transmission electron microscopy of ferroelectric domain boundaries in barium titanate