Exchanging Reputation Information Between Communities: A Payment-Function Approach