Optimality and nash stability in additively separable generalized group activity selection problems