Energy loss of He ions in solidified gases