Functionalization of BN nanotubes with free radicals: electroaffinity-independent configuration and band structure engineering