Origins of the Photovoltaic Effect in Vapor‐Deposited CdS Layers