Microfluidic polymer particle and capsule formation: from the molecular to the macroscale