Application of ion probe analysis to studies of hydrogen behavior in solids