Psychological risk factors that characterize the trajectories of quality of life after a physical trauma: a longitudinal study using latent class analysis