Endogenous reference-dependent risk preferences with a transformed stochastic reference point