Rite Aid completes refinancing transactions