Evolutionary development of redox regulation in chloroplasts.