Unveiling the spontaneous conversion of layered MAX phases to 2D MXenes