A functional workplace of diverse people and ideas is fertile ground for creativity -- and for conflict. Here's how to be a good referee.