Rare earth photovoltaic cells