Control of flagellar motility in Euglena and Chlamydomonas