The anomalous photovoltaic effect in cadmium telluride