Model for Luminescence and Photoconductivity in the Sulfides