Incentivizing Honesty among Competitors in Collaborative Learning and Optimization