Electrochemical, solid state, photochemical and technological aspects of photoelectrochemical energy converters