Nanoscale Digital Devices Based on the Photoelectrochemical Photocurrent Switching Effect: Preparation, Properties and Applications