40-Gb/s optical 3R regenerator using electroabsorption modulators for optical networks