Systematic Investigation of Controlled Nanostructuring of Mn12 Single-Molecule Magnets Templated by Metal-Organic Frameworks.