TalkTalk was the most complained-about broadband provider and O2 continued to attract the most complaints among mobile firms, latest Ofcom figures show.