Electric field effect dominated bipolar resistive switching through interface control in a Pt/TiO2/TiN structure