The renewables share in Spain’s total power production plunged to 39.2% in June, after a heat wave that tore through much of the country triggered more use of conventional generation plants to power air conditioners.