Boron nitride nanotubes with quadrangular cross sections: Density functional studies