The electron beam melting and refining of titanium alloys