Investigation of carbon contamination of mirror surfaces exposed to synchrotron radiation