Unramified representations of p-adic groups on spherical varieties