Optimal replenishment in a Brownian Motion EOQ model with hysteretic parameter changes