Ex-CIA officer convicted of leaking Iran plan to media