Microfluidic synthesis of advanced microparticles for encapsulation and controlled release