The effects of viscosity and cooling conditions on the foamability of aluminum alloy