Effective determination of the decomposition of the rational primes in a cubic field