BML: A High-performance, Low-cost Gradient Synchronization Algorithm for DML Training