Response of thin-film scintillator detectors to high-energy argon and krypton ions