Mechanism of porosity formation and influence on mechanical properties in selective laser melting of Ti-6Al-4V parts