Atletico Madrid have lost their appeal against their transfer ban to the Court of Arbitration for Sport (CAS), meaning they cannot sign players this summer.