Respiratory rate as a predictor of weaning failure from mechanical ventilation.