Lowe’s posts higher-than-expected Q3 sales and profits