Traffic light status detection using movement patterns of vehicles