Ford recalls 313,000 cars for lighting failures