Growth and photoproduction of H2 by Rhodopseudomonas palustris under light-dark cycles.