Ni-GDC and Ni-YSZ electrodes operated in solid oxide electrolysis and fuel cell modes