Evaluating and Mitigating Bias in AI-Based Medical Text Generation