Wales captain Sam Warburton has been banned for three weeks for the "dangerous tip tackle" that earned him a red card in his country's rugby World Cup semi-final defeat to France.