A green method for synthesizing novel nanoparticles and their application in flexible conductive patterns