RealtyTrac indicates foreclosures in July were down 4% from previous month