Control of fermentation duration and pH to orient biochemicals and biofuels production from cheese whey