Telefonica confirms talks to merge O2 and Virgin Media