The relationship between the phase-transition-like anomalies above Tc and superconductivity in YBa2Cu3Ox