Mathematical modeling of two-phase flow and transport in an immobilized-cell photobioreactor