Magnetism in defected single-walled boron nitride nanotubes