Synthesis of T-shaped molecules for their deposition over three-terminal devices