Tuning the Stoichiometry of Ag2S Thin Films for Resistive Switching Applications