Roma deal for Barcelona's Perez