Deriving mechanical properties of microtubules from molecular simulations