Providing Recommendations in Social Networks by Integrating Local and Global Reputation