Size-selective synthesis of platinum nanoparticles on transition-metal dichalcogenides for the hydrogen evolution reaction.