Differential operators and BV structures in noncommutative geometry