A study on a boron-nitride nanotube as a gigahertz oscillator