Primary hydroperoxidation in photooxidation of polyolefins and polyamides