The Beatles star Sir Paul McCartney has married Nancy Shevell at Marylebone Registry Office in London.