Effect of different hardness and melting point of the metallic surfaces on structural and optical properties of synthesized nanoparticles