Ford third-quarter earnings beat expectations