Prevalence and predictors of data and code sharing in the medical and health sciences