Energy distributions of constituent atoms of cluster impacts on solid surface