The use of sea waves for generation of electrical energy and hydrogen