The preparation of Co9S8 and CoS2 nanoparticles by a high energy ball-milling method and their electrochemical hydrogen storage properties