Amine-functionalized polyglycidyl methacrylate microsphere as a unified template for the synthesis of gold nanoparticles and single-crystal gold plates.