Binary logic with synthetic molecular and supramolecular species