Cogeneration of green hydrogen in a cascade hydropower plant