Ion tracks in ultrathin polymer films: The role of the substrate