Advances in optoelectronic artificial synapses