Zero-divisor graphs, von Neumann regular rings, and Boolean algebras