‘Black box’ optical regeneratorfor RZ transmission systems