Interfacial charge transfer and electronic structure of diamond/c-BN heterointerface