Operation of integrated InGaAsP-InP optical amplifier-monitoring detector with feedback control circuit