Home Depot sales, earnings rise