Sir Paul McCartney is to play at the opening ceremony of the 2012 Olympics in London