Construction and electroanalytical study of excitonic solar cells