Chiral and UA(1) phase transitions in QCD: an analysis of the I=0 pseudoscalars