The Court of Arbitration for Sport has upheld the appeals of 28 Russian athletes who were given Olympic bans for doping violations at the 2014 Sochi Winter Games.