The impact of psychological factors on recovery from injury: a multicentre cohort study