In situ investigation of aluminum gallium arsenide/gallium arsenide multilayer structures under inert and reactive media by atomic force microscopy