Regulator Ofcom says "unacceptable" mistakes affected 2.6 million customers of the mobile phone group.