Ion beam induced luminescence of thin films