Computing the Newton polytope of the discriminant from the fiber polytope. On the first cohomology of Jacobians of projective curves with good reduction defined over the field of real formal power series 