Hamilton-Jacobi analysis of the four-dimensional BF model with cosmological term