Application of low-cost waste material from the petroleum industry in wastewater treatment and polymer composites