Ordered metal nanostructure self-assembly using metal–organic frameworks as templates