Template-Directed Synthesis and Post-Synthetic Modification of Porphyrin-Encapsulating Metal-Organic Materials