Spending on debit, credit cards rises in July, as apparel sales surge