Photodetection by light‐induced barrier modulation in Cu‐diffused Au–CdS diodes