Polycrystalline lead iodide films for digital X-ray sensors