A Probabilistic Model of Social Decision Making based on Reward Maximization