A new basis of the spherical Hecke algebra and integral Hecke operators