High-temperature series analyses of the classical Heisenberg and XY models