It will cost more than £1 million to replace ageing traffic light systems at five major junctions in Preston, some of which date back 50 years.