Memristive switching in Cu/Si/Pt cells and its improvement in vacuum environment