“Template synthesis” of discrete metal clusters with two- or three-dimensional architectures