Israeli companies can profit from West Bank resources, court rules