Kevin Pietersen has joined England's white-ball coaching team as a "specialist mentor" in the build-up to next year's World Cup.