Hybrid organic–inorganic liquid bistable memory devices