An examination of multivariable Mendelian randomization in the single sample and two-sample summary data settings