Text this: Pressure-induced reversal of Peierls-like distortions elicits the polyamorphic transition in GeTe and GeSe