Flexible Write-Once–Read-Many-Times Memory Device Based on a Nickel Oxide Thin Film