Electronic structure and photoluminescence properties of Eu2+-activated Ca2BN2F