The electronic structures and formation mechanisms of the single-walled BN nanotube with small diameter