Formation of radiation defects in silicate and borosilicate glasses caused by UV lamp and excimer laser irradiation