Modeling radiation-induced carbon contamination of extreme ultraviolet optics