The prescribed mean curvature equation for nonparametric surfaces