In situ optical studies of solid-oxide fuel cells.