Traffic light prediction using connected vehicles