A light-emitting electrochemical artificial synapse with dual output of photoelectric signals