Text this: A BaTiO3-based flexible ferroelectric capacitor for non-volatile memories