Flowing Lattices of Bubbles as Tunable, Self-Assembled Diffraction Gratings