Exploiting photosynthesis for biofuel production