In situ formation of Ag flowerlike and dendritic nanostructures in aqueous solution and hydrolysis of an amphiphilic block copolymer