Discovering Individual Rewards in Collective Behavior through Inverse Multi-Agent Reinforcement Learning