Fourier-Stieltjes transforms and weakly almost periodic functionals for compact groups