Galvanic replacement mediated transformation of Ag nanospheres into dendritic Au-Ag nanostructures in the ionic liquid [BMIM][BF4].