Volatile Electrical Switching and Static Random Access Memory Effect in a Functional Polyimide Containing Oxadiazole Moieties