Boundary value problems for degenerate elliptic equations and systems