Enhanced stability of guanidinium-based organic-inorganic hybrid lead triiodides in resistance switching