Optoelectronic integrated circuits