Structural investigation of photonic materials at the nano-level using XPS