The effect of hydrostatic pressure on the energy of grain boundaries — structural transformations