Behavior of optical thin-film materials and coatings under proton and gamma irradiation