Controlled Synthesis of Polymer Micro- and Nanoparticles Stained with Luminophores and Analysis of the Resulting Particle Surface Functionalities and Luminescence Properties