Engineering Co9S8/WS2 array films as bifunctional electrocatalysts for efficient water splitting