Regularity of solutions of linear second order elliptic and parabolic boundary value problems on Lipschitz domains