Leading chiral logarithms of KS→γγ and KS→γl+l− at two loops