Large photorefractive effect in a thermally decomposed polymer compared with that in molecularly doped systems