England batsman Kevin Pietersen has been ruled out of the ICC Champions Trophy because of his knee injury.