Resistance Switching and Failure Behavior of the MoOx/Mo2C Heterostructure.