Arsenal have completed the signing of attacking midfielder Mesut Ozil from Real Madrid, smashing their club record in the process.