Air-stable, non-volatile resistive memory based on hybrid organic/inorganic nanocomposites