Modern theories of electrolysis