Multi-photon in situ synthesis and patterning of polymer-embedded nanocrystals