Protective effect of tetrahydropalmatine against d-galactose induced memory impairment in rat