The effect of pore structure on the mechanical properties of titanium scaffolds