Study of the exclusive initial-state-radiation production of the DD¯ system