The melting of metal targets during erosion by hard particles