First-principles investigation on B/N co-doping of metallic carbon nanotubes