Modeling the Bit-Error-Rate Performance of Nonlinear Fiber-Optic Systems