Resistive switching in memristors based on yttria-stabilized zirconia