Changes in the near edge x-ray absorption fine structure of hybrid organic-inorganic resists upon exposure