Properties of ultrathin films appropriate for optics capping layers exposed to high energy photon irradiation