Optimal homeostasis necessitates bistable control