Real Madrid and Atletico Madrid have lost their appeals against one-year transfer bans by FIFA for breaking rules protecting underage players.