Preparation and characterization of single crystals of HgI2 and studies on the effects of X-ray and gamma ray irradiation and the effect of aging on their electrical and optoelectronic properties