Investigation of electrochemical, optical and thermal effects during flash sintering of 8YSZ