Convex solutions to nonlinear elliptic and parabolic boundary value problems