Investigation of the detailed structure of ion tracks in polymer foils