Cities could ease congestion and improve safety during snowstorms by tweaking the timing of traffic lights to take road conditions into account.