The melting of MgO studied by molecular dynamics simulation