Bubble production mechanism in a microfluidic foam generator.