David Villa passes his medical at Atletico Madrid