Valorization of solid waste from oil refining and biodiesel industries for the biorecovery of rare earth elements