Covariant action for Ashtekar's form of canonical gravity