Solution-processed resistive switching memory devices based on hybrid organic-inorganic materials and composites.