On S. Bernstein’s theorem on surfaces $z(x,y)$ of nonpositive curvature