RealtyTrac: June foreclosures up for first time in three months