Monolithic integration of a light-emitting diode array and a silicon circuit using transfer processes