Advancement of fuel cells and electrolyzers technologies and their applications to renewable-rich power grids