Effects of electrode material and configuration on the characteristics of planar resistive switching devices