Generalization of Jensen's inequality by Hermite polynomials and related results