In situ transmission electron microscope studies of palladium on MgO