Ion beam studies of H and He in metals