Measurement of the Bs(0) Ds-Ds+ and Bs(0) D-Ds+ effective lifetimes