Association between measured teamwork and medical errors: an observational study of prehospital care in the USA