Flexible and thermally stable resistive switching memory in a Ta/TaOx/stainless steel structure