Fluorination-induced magnetism in boron nitride nanotubes from ab initio calculations