THE DIRICHLET PROBLEM FOR SECOND ORDER SEMILINEAR ELLIPTIC AND PARABOLIC EQUATIONS