The influence of the triplet exciton and charge transfer state energy alignment on organic magnetoresistance