Exponentially affine martingales, affine measure changes and exponential moments of affine processes