Evaluation of the modulation transfer function of megavoltage X-rays