TiO x -based self-rectifying memory device for crossbar WORM memory array applications