Acceptor doping of single-walled carbon nanotubes by encapsulation of zinc halogenides