Synthesis and structure of BN‐doped multi‐walled and single‐walled carbon nanotubes