Hysteresis, menu costs, and pricing with random exchange rates