GaAs-based optoelectronic neurons