Synthesis and characterization of nanoporous material of some metals with surfactants and their applied applications