Self-assembled molecular rectifiers