Longitudinal phenotypes in patients with acute respiratory distress syndrome: a multi-database study