Role of ultrasensitivity in biomolecular circuitry for achieving homeostasis