Non-exponential resistive switching in Ag2S devices