Effects of the high-pressure treatment of ex situ MgB2 superconductors