B physics at CDF