Preparation of polymer single chain nanoparticles using intramolecular photodimerization of coumarin