Surface recombination of ions and cratering by ion impact