Solar energy conversion using semiconducting photoanodes