On the continuous approximation of the probability density and of the entropy functions for nonlinear stochastic dynamical systems