Amplitude analysis of the KS0KS0 system produced in the reaction p-p?KS0KS0n at 23 GeV/c