Amplitude analysis and measurement of the time-dependent CP asymmetry of B-0 -> (KSKSKS0)-K-0-K-0 decays