Molecular mechanics of structural properties of boron nitride nanotubes