NNLO evolution of deep-inelastic structure functions: the singlet case