Organic small-molecule heterointerface for use in transistor-type non-volatile memory