Lowe’s reports sales up, but earnings down in third quarter