NEW ROVIBRATIONAL DATA FOR MgOH AND MgOD, AND THE INTERNUCLEAR POTENTIAL FUNCTION OF THE GROUND ELECTRONIC STATE