Deposition of a molten layer of high melting point material: substrate melting and resolidification