A Mach-Zehnder modulator model for the design of optical-fiber analog transmitters