Villarreal agree Roger Martinez deal