Single-molecular diodes based on opioid derivatives