A comparison of the notions of optimality in soft constraints and graphical games