Text this: Methods of studying the composition of the low-energy ion beams and the surface of deuterated-metal targets