Arsenal have completed the signing of Spanish international defender Nacho Monreal from Malaga on a "long-term" deal.