Reference-dependent mechanism design