Determination of the S-wave pi pi scattering lengths from a study of K(+/-) -> pi(+/-)pi(0)pi(0) decays