Design and synthesis of perpendicularly connected metal porphyrin-imide dyads for two-terminal wired single molecular diodes.