Shaped gold and silver nanoparticles