Chemical changes in polymeric photodielectric media used in holographic recording