Measurements of diffractive processes at CDF