Zero divisors and commutativity of rings