Minimal energy solutions for cooperative nonlinear Schrödinger systems