Polyimide based scintillating thin films