Biodegradable nano- and microparticles with controlled surface properties