Atletico Madrid have agreed a deal to sign former Liverpool left-back Emiliano Insua from Sporting Lisbon.