Chiral symmetry breaking and phase fluctuations: A QED 3 theory of the pseudogap state in cuprate superconductors