A dynamic foot model for predictive simulations of gait reveals causal relations between foot structure and whole body mechanics