First flexible memory device using oxide ferroelectric material