Effect of microstructure on mechanical properties for A356 casting alloy