A qualitative study of barriers to the registration of patients’ social histories