Photoelectromagnetic effect in lead iodide