BV Estimates in Optimal Transportation and Applications