GRADIENT AND HARNACK INEQUALITIES ON NONCOMPACT MANIFOLDS WITH BOUNDARY