Evaluation of the GSO:Ce scintillator in the X-ray energy range from 40 to 140 kV for possible applications in medical X-ray imaging