Molecular dynamics simulation of polymerlike thin films irradiated by fast ions: A comparison between FENE and Lennard-Jones potentials