Refineries turn to biofuels as oil demand slumps