Amplitude analysis and measurement of the time-dependent CP asymmetry of B^{0}→K_{S}^{0}K_{S}^{0}K_{S}^{0} decays