Bistable memory effect in chromium oxide junctions