A Bregman Splitting Algorithm for Distributed Optimization over Networks