Rite Aid comps grow 0.5% in July