Photocatalytic and Photoelectrochemical Systems: Similarities and Differences