Aston Villa have completed the signing of goalkeeper Emiliano Martinez from Arsenal in a reported £20million deal.