Photodissociation mechanism of MgN2+ ion-molecule complex. An ab initio MO study