Validity of the local nonlinear arterial flow theory: influence of the upstream and downstream conditions.