Chelsea have ended their search for a right-back with the signing of Cesar Azpilicueta from Marseille.