Loss effect on quality factor and finesse in buried InP-InGaAsP ring resonators