Structural characterization of MgO(100) surfaces