Non-independent Randomized Rounding, Linear Discrepancy and an Application to Digital Halftoning