Rite Aid reports first annual profit since 2007