Electrical properties and thermal stability of ion beam deposited BN thin films