Branching ratios of the decays D0 → K0K0 and D0 → KS0KS0KS0