West Sussex County Council is to spend more than £24 million converting some 64,000 street lights to LED lanterns.