Discussion on device structures and hermetic encapsulation for SiOx random access memory operation in air