Lowe's reports third-quarter earnings decline