Electronic spectrum of 17 electronic states of BN molecule: a theoretical study.