Magnetic properties of MnBi based alloys: First-principles calculations for MnBi-Co and MnBi-Co-Fe cases