Self-assembly of functional metal-seamed pyrogallol[4]arene nanocapsules