Modification of gold and titanium nanolayers using slow highly charged Xe q+ ions