Photoelectrochemical Behavior of Nanocomposite Films of Cadmium Sulfide, or Titanium Dioxide, and Nickel