Secretion of fatty acids by photosynthetic microorganisms