High-temperature specific heat and susceptibility of the quadratic S = 12 XY model. Comparison with data on CoCl2.6H2O and CoBr2.6H2O