Photochemical properties of UV-absorbing chemicals in phase-controlled polymer microspheres