Factors influencing the timing of cholecystectomy in acute cholecystitis.