USE OF THE EGS4 MONTE-CARLO CODE TO EVALUATE THE RESPONSE OF HGI2 AND CDTE DETECTORS FOR PHOTONS IN THE DIAGNOSTIC ENERGY-RANGE