Distributed heterogeneous energy storage systems synchronization control with dynamic weights and time-varying unbalanced digraphs