Energy balance during elettrolysis and cavitation experiments