Sulfur doped carbon porous as an efficient catalyst for sustainable energy processes