Physical, social and emotional function after work accidents: a medicolegal perspective.