The purification of metallurgical grade silicon by electron beam melting