Probability-like functionals and fuzzy logic