Isolation and identification of halophiles and thermophiles and their application in the process of biodiesel production and methanogenesis