ESR investigation of interactions in the system MgO- V2O5