A modeling study of carbon and light limitation in algal biofilms