General Motors posts best quarterly total sales in 4 years