A linewidth formula for semiconductor-optical fiber ring lasers