Ferroelectric memristive effect in BaTiO3 epitaxial thin films