Development of a biorefinery scheme to produce biofuels from waste cooking oil