Restricted sums of subsets of Z