A fluid dynamics model of the growth of phototrophic biofilms.