Ashtekar's variables, the θ-term, and the cosmological constant