The referees shall be allowed such compensation for their services as the court may deem just and proper, which shall be taxed as a part of the costs in the case.