Synthesis and characterization of nanoporous materials of some metals using surfactants and their advanced applications