Spin-polarized current amplification and spin injection in magnetic bipolar transistors