A dual-layer cooperative control strategy of battery energy storage units for smoothing wind power fluctuations