Electronic structure and multiferroic properties of (Y, Mn)-doped barium hexaferrite compounds