Effect of interlayer on resistive switching properties of SnO2-based memristor for synaptic application