Dimer of rivastigmine and caffeic acid or ferulic acid, preparation method and drug composition thereof