Luminescence and defect formation by visible and near-infrared irradiation of vitreous silica