Lowe's Q2 profit rises 10%; cuts revenue outlook