DAG-Plan: Generating Directed Acyclic Dependency Graphs for Dual-Arm Cooperative Planning