Enhancement of hydrogen production by optimization of biofilm growth in a photobioreactor