The value of day-ahead forecasting for photovoltaics in the Spanish electricity market