Analytical treatment of the transient in absorptive optical bistability