Mini diode made from a single molecule