Rite Aid posts third consecutive quarterly profit as company expands Wellness+