The modulation instability laser. II. Theory