Coexistence of volatile and nonvolatile memristive effects in phase-separated La0.5Ca0.5MnO3-based devices